package com.jt.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jt.web.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("select * from t_user where user_name =#{userName} and password = #{password}")
    User login(User user);
}
